package com.escape.subject.application.convert;

import com.escape.subject.application.dto.SubjectCategoryDTO;
import com.escape.subject.application.dto.SubjectInfoDTO;
import com.escape.subject.domain.entity.SubjectCategoryBO;
import com.escape.subject.domain.entity.SubjectInfoBO;
import org.mapstruct.Mapper;
import org.mapstruct.factory.Mappers;

import java.util.List;

@Mapper
public interface SubjectInfoDTOConvert {

    SubjectInfoDTOConvert INSTANCE = Mappers.getMapper(SubjectInfoDTOConvert.class);

    SubjectInfoBO convertDtoToBO(SubjectInfoDTO subjectInfoDTO);

    SubjectInfoDTO convertBOToDto(SubjectInfoBO subjectInfoBO);

    List<SubjectInfoDTO> convertBoListToDtoList(List<SubjectInfoBO> subjectInfoBO);
}
